import Vue from 'vue'
import App from './App.vue'
import VueRouter from 'vue-router'
Vue.config.productionTip = false
import Index from './pages/Index.vue'
import Type from './pages/Type.vue'
import Order from './pages/Order.vue'
import My from './pages/My.vue'
Vue.use(VueRouter)
const routes = [
  {
    path: '/index',
    component:Index
  },
  {
    path: '/type',
    component:Type
  },
  {
    path: '/order',
    component:Order
  },
  {
    path: '/my',
    component:My
  }
]
const router = new VueRouter({
  routes
})
new Vue({
  router,
  render: h => h(App),
}).$mount('#app')
